#pragma once
#include <vector>
#include <functional>
#include "../Headers/types.h"
#include "gui.window.h"

namespace TOB {
  class UIButton: public UIWindow {
   public:
    UIButton(uint16 x, uint16 y, uint16 w, uint16 h);
    ~UIButton();
    
    void focus();
    void print(bool selected=false);

    bool running;
    String title;
    std::function<void()> eventTab;
    std::function<void()> eventClick;
  };
}
